"""
    打印九九乘法口诀表
    1X1=1
    1X2=2 2X2=4
    1x3=3 2x3=6 3x3=9
    1x4=4 2x4=8 3x4=12 4x4=16
for循环实现
"""
for i in range(1,10):
    for j in range(1,i+1):
        print(f'{i}X{j}={i * j}', end=' ')
    print()
